package entity

import (
	"shqsoft.cn/pasnj/base"
)

//BaseFJ 附件
type BaseFJ struct {
	FJID int    `gorm:"column:FJID;AUTO_INCREMENT;primary_key" json:"id"`
	FJNR []byte `gorm:"column:FJNR" json:"fjnr"`
	FJLX string `gorm:"column:FJLX" json:"fjlx"`
	FJDX string `gorm:"column:FJDX" json:"fjdx"`
	FJMC string `gorm:"column:FJMC" json:"fjmc"`
}

//TableName BaseFJ表名
func (BaseFJ) TableName() string {
	return "T_BASE_FJ"
}

//FilesEF 获取实体类对象"EmplYgdd";
func BaseFJEF() base.EntityFunc {
	return func() interface{} {
		entity := BaseFJ{}
		return &entity
	}
}

//BaseFJESF 获取实体类对象数组
func BaseFJESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []BaseFJ
		return &entities
	}
}
func init() {
	base.DaoPoolObj.Put("BaseFJ", base.NewDefaultDao(BaseFJEF(), BaseFJESF(), nil))
}
